<template>
	<view class="content">
		<image class="logo" src="/static/new-logo.png" />
		<view class="item" @click="goBook">
			<text>医院陪护</text>
			<image src="../../static/ic_arrow_right.png" />
		</view>
		<view class="item" @click="goBook">
			<text>高端陪护</text>
			<image src="../../static/ic_arrow_right.png" />
		</view>
		<view class="bottom">
			<view class="text">优医护智慧陪护平台</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {
			goBook: function() {
				console.log("xxxxx")
				uni.navigateTo({
					url: "../book/book"
				});
			}
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100%;
	}

	.logo {
		height: 260upx;
		width: 51.7%;
		margin: 22% 0;
	}

	.item {
		display: flex;
		flex-direction: column;
		height: 160upx;
		margin-top: 30upx;
		background-image: url("/static/hospital.png");
		background-repeat: no-repeat;
		background-size: cover;
		border-radius: 10upx;
		width: 85%;
		justify-content: center;
	}
	.item text {
		font-size: 40upx;
		color: #FFFFFF;
		text-align: center;
		letter-spacing: 20upx
	}

	.item image {
		width: 30upx;
		height: 30upx;
		position: absolute;
		right: 100upx;
	}

	.bottom {
		position: absolute;
		bottom: 20upx;
		width: 100%;
		justify-content: center;
	}

	.text {
		text-align: center;
		font-size: 28upx;
		color: #888888;
		letter-spacing: 10upx;
		
	}
</style>
